#ifndef __MY_CAMERA_H_
#define __MY_CAMERA_H_

#define DRV_NAME "/dev/video0"

int camera_device_open(const char *dev);
int init_camera_attribute(int fd);
int start_capturing(int fd);
int build_picture(void *addr, int length);
int read_image(int fd);
int when_to_read(int fd);
int stop_capturing(int fd);
int uninit_camera(int fd);


#endif